﻿using ApplicationModels.A07.Chats;
using Commons.Responses;
using EntityModels.E07.Chats;

namespace IApplicationServices
{
    public interface IConversationService:IBaseApplicationService<int, Conversation, ConversationAM>
    {
        /// <summary>
        /// 获取用户的会话列表
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        Task<DatasResponse<ConversationAM>> GetConversations(string userId);
    }
}
